package com.cn.lycss.dao;

import com.cn.lycss.model.UserModel;

import java.util.List;

public interface UserDao {

    UserModel findByUserNameAndPassword(UserModel userModel);

    List<UserModel> findAll(UserModel userModel);

    int add(UserModel userModel);
    int update(UserModel userModel);

    UserModel findById(UserModel userModel);

    int delete(UserModel userModel);

    Integer getCount(UserModel userModel);
}
